{{-- 提交表单返回的错误 --}}
@if (Session::has('success'))

    <div class="alert alert-success">

        <button class="close" data-dismiss="alert"></button>

        <strong>{{ Session::get('success') }}</strong>

    </div>

@elseif($errors->any())

    <div class="alert alert-error">

        <button class="close" data-dismiss="alert"></button>

        <strong>{{ $errors->first() }}</strong>

    </div>

@endif